NXP Semiconductors /LPC11E6x /ADC /CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTRL

31282724232019161512118743000000000000000000000000000000000000000000CLKDIV0RESERVED0 (DISABLED)LPWRMODE0 (CAL_MODE)CAL_MODE0RESERVED

LPWRMODE=DISABLED

Description

A/D Control Register. Contains the clock divide value, enable bits for each sequence and the A/D power-down bit.

Fields

CLKDIV

The system clock is divided by this value plus one to produce the clock for the A/D converter, which should be less than or equal to 50 MHz (up to 100 MHz in 10-bit mode). Typically, software should program the smallest value in this field that yields this maximum clock rate or slightly less, but in certain cases (such as a high-impedance analog source) a slower clock may be desirable.

RESERVED

Reserved.

LPWRMODE

Select low-power ADC mode. The analog circuitry is automatically powered-down when no conversions are taking place. When any (hardware or software) triggering event is detected, the analog circuitry is enabled. After the required start-up time, the requested conversion will be launched. Once the conversion completes, the analog-circuitry will again be powered-down provided no further conversions are pending. Using this mode can save an appreciable amount of current (approximately 2.5 mA) when conversions are required relatively infrequently. The penalty for using this mode is an approximately 15 ADC clock delay (30 clocks in 10-bit mode), based on the frequency specified in the CLKDIV field, from the time the trigger event occurs until sampling of the A/D input commences. This mode will NOT power-up the A/D if the ADC_ENA bit is low.

0 (DISABLED): Disabled. The low-power ADC mode is disabled. The analog circuitry remains activated even when no conversions are requested.

1 (ENABLED): Enabled. The low-power ADC mode is enabled.

CAL_MODE

Writing a 1 to this bit initiates a self-calibration cycle. This bit will be automatically cleared by hardware after the calibration cycle is complete. Other bits of this register may be written to concurrently with setting this bit, however once this bit has been set no further writes to this register are permitted until the full calibration cycle has ended.

RESERVED

Reserved.

Links

()